<?php
declare(strict_types=1);

namespace App\Resource\Activity\LaborDay2023;


use Illuminate\Http\Resources\Json\JsonResource;

class ProductResource extends JsonResource
{
    public function toArray($request): array
    {
        return [
            "id" => $this->id,
            "name" => $this->title,
            "icon" => $this->picture,
            "special" => $this->special,
            "category_id" => $this->category_id,
            "coin" => 0,
        ];
    }
}